home *** CD-ROM | disk | FTP | other *** search
/ Programming a Multiplayer FPS in DirectX / Programming a Multiplayer FPS in DirectX (Companion CD).iso / DirectX / dxsdk_oct2004.exe / dxsdk.exe / Samples / C++ / Direct3D / EffectEdit / help.txt < prev    next >
Encoding:
Text (UTF-16)  |  2004-09-27  |  5.9 KB  |  54 lines

  1. Rendered Scene pane controls
  2. ====================================================
  3.     Left click and drag to spin the object.
  4.     Middle click and drag to zoom the object in/out.
  5.     Right click and drag to pan the object.
  6.     Hold Ctrl and left click and drag to spin the camera around the object.
  7.     Hold Ctrl and middle click and drag to zoom the camera in and out.
  8.     Hold Ctrl and right click and drag to pan the camera.
  9.     Reposition lights by left click and dragging them to a new location.
  10.     Click the "Reset Camera" button to reset the object and the camera.
  11.  
  12. Compilation results pane controls
  13. ====================================================
  14.     Double-click on errors to jump to the offending line
  15.  
  16. EffectEdit Parameter Semantics and Annotations
  17. ====================================================
  18.     Note that not all effect files will work well with EffectEdit.  Effects
  19.     that need a lot of parameters to be set by the app will probably not work
  20.     well.  EffectEdit will recognize a limited number of parameters that have 
  21.     these semantic attached:
  22.  
  23.         Parameters with the WORLD semantic will contain the world matrix
  24.         Parameters with the VIEW semantic will contain the view matrix
  25.         Parameters with the PROJECTION semantic will contain the projection matrix
  26.         Parameters with the WORLDVIEW semantic will contain the world*view matrix
  27.         Parameters with the VIEWPROJECTION semantic will contain the view*projection 
  28.             matrix
  29.         Parameters with the WORLDVIEWPROJECTION semantic will contain the 
  30.             world*view*projection matrix
  31.         Parameters with the NAME annotation will cause a texture with the given 
  32.             name to be loaded
  33.         Parameters with the FUNCTION annotation will cause a procedural texture 
  34.             with the given name to be loaded and used to initialize the texture
  35.         Parameters with the TARGET annotation will cause the procedural texture 
  36.             to use the specified instruction set (Default is "tx_1_0")
  37.         Parameters with the WIDTH annotation will cause the texture to have the
  38.             specified width
  39.         Parameters with the HEIGHT annotation will cause the texture to have the
  40.             specified height
  41.         An integer parameter named "BCLR" will be used to define the background 
  42.             color of the scene
  43.         A string parameter named "BIMG" will be used to define a background image 
  44.             for the scene
  45.         A string parameter named "XFile" will be used to load an XFile containing 
  46.             the object to be rendered
  47.         A float parameter with the TIME semantic will contain the app time, in seconds 
  48.         A vector parameter with the CAMERAPOSITION semantic will contain the 
  49.             camera position, in world space
  50.  
  51.     For example, loading an .fx file with:
  52.         float4x4 MyWorld  : WORLD;
  53.     would tell EffectEdit that the "MyWorld" parameter is the world matrix.
  54.